Line a casserole or deep pie pan with pastry.
Combine corn, potatoes and eggs and pour into the pastry lined container.
Add salt and pepper. Sprinkle with flour and add enough milk to cover the vegetables.
Cover with top pastry and pinch edged together to seal.
Bake at 425 degrees for 30-40 minutes, until crust is browned and milk is bubbly throughout.